package com.chuangyang.fixboxmaster.bean;


import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by vanshu on 15/3/30 12:56.
 */

public class Order  implements Serializable  {
    private static final long serialVersionUID = 1L;

    @SerializedName("id")
    public int id;

    @SerializedName("skillId")
    public String skillId;

    @SerializedName("serialId")
    public String orderId;

    @SerializedName("status")
    public int orderStatus;

    @SerializedName("title")
    public String orderTitle;

    @SerializedName("createDate")
    public String orderCreateTime; //订单创建时间

    @SerializedName("startDate")
    public String appointTime; //订单预约时间

    @SerializedName("userId")
    public int userId;

    @SerializedName("statusDesc")
    public String statusDesc;

    @SerializedName("totalPrice")
    public double totalPrice;


    @SerializedName("extraPrice")
    public double extraPrice;

    @SerializedName("serviceFeeToMaster")
    public double serviceFeeToMaster;


    @SerializedName("payPrice")
    public double payPrice;

    @SerializedName("addressCard")
    public AddressInfo.Address address;

    @SerializedName("distances")
    public double distance;

    @SerializedName("skill")
    public Skill skill;

    @SerializedName("desc")
    public String orderDes;

    @SerializedName("medias")
    public Media [] medias;

    @SerializedName("transactionId")
    public int transactionId;

    @SerializedName("num")
    public int num;

    @SerializedName("statusColor")
    public String statusColor;

    @SerializedName("statusTip")
    public String statusTip;

    @SerializedName("integrals")
    public int integrals;





    public class OrderInfo extends BaseInfo    {
        @SerializedName("result")
        public OrderResult result;
    }


    public class OrderResult extends BaseResult  {

        @SerializedName("orderList")
        public Order[] orderList;
    }


}
